package com.bw.module_home.visit.api

import com.bw.lib_common.api.BaseApiServer
import com.bw.lib_common.entity.Res
import com.bw.module_home.visit.model.AddVisitEntity
import com.bw.module_home.visit.model.VisitEntity
import retrofit2.http.Body
import retrofit2.http.GET
import retrofit2.http.POST

interface VisitApiService: BaseApiServer {
    @GET("/api/visit-appointments")
    suspend fun getVisitList() : Res<VisitEntity>
    @POST("/api/visit-appointments")
    suspend fun addVisit(@Body param : AddVisitEntity) : Res<AddVisitEntity>
}